#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<errno.h>
#define SLDataType int
typedef struct SeqList
{
	SLDataType* array;
	int size;
	int capicity;
}SeqList;
void SeqListInit(SeqList* ps);
void CheckCapicity(SeqList* ps);
void SeqListPushBack(SeqList* ps, SLDataType x);
void SeqListPrint(SeqList* ps);
void SeqListPopBack(SeqList* ps);
void SeqListPushFront(SeqList* ps, SLDataType x);
void SeqListPopFront(SeqList* ps);
void SeqListFind(SeqList* ps, SLDataType x);
void SeqListInsert(SeqList* ps, SLDataType x,int pos);
void SeqListErase(SeqList* ps, int pos);
void SeqListDestroy(SeqList* ps);

